Lionel Landwerlin [Fri, 17 May 2013 12:28:04 +0000 (13:28 +0100)]
x11: make _gdk_device_query_state report the master's device state
Calling XIQueryPointer() on a slave device is going to trigger a
BadDevice X error. So in case we query a slave device state, ask the
master device instead.
https://bugzilla.gnome.org/show_bug.cgi?id=700233
Mario Sanchez Prada [Thu, 16 May 2013 14:34:05 +0000 (15:34 +0100)]
Missing NULL-check in XI2's implementation for get_window()
Add missing check in gdk_x11_device_manager_xi2_get_window(), returning
NULL if no valid XI2Event* has been found. Calling code seems to be
prepared to handle NULLs coming from this function, so it should be
safe enough (e.g. check gdk_event_source_get_filter_window()).
https://bugzilla.gnome.org/show_bug.cgi?id=700465
Will Thompson [Sat, 18 May 2013 13:55:32 +0000 (14:55 +0100)]
docs: remove unused objects_grouped.sgml
I notice that a reference to GtkStrengthBar had been left in this file
when it was renamed to GtkLevelBar. On closer inspection, it looks like
it's been unused for 13 years. To quote docs/reference/ChangeLog:
> 2000-10-23 Havoc Pennington <hp@redhat.com>
>
> [...] Removed objects_grouped.sgml from gtk-docs.sgml for now, it
> doesn't seem useful anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=700575
Victor Ibragimov [Sun, 19 May 2013 07:38:39 +0000 (12:38 +0500)]
Updated Tajik Translation
Matthias Clasen [Sat, 18 May 2013 23:21:54 +0000 (19:21 -0400)]
Fix drawing of treeview grid lines
In the presence of invisible columns, the grid line drawing
code was malfunctioning.
https://bugzilla.gnome.org/show_bug.cgi?id=700578
Bastien Nocera [Thu, 16 May 2013 12:27:39 +0000 (14:27 +0200)]
GtkSwitch: Don't handle events from extra mouse buttons
Also use GDK_EVENT_{STOP,PROPAGATE} to make return
values clearer.
https://bugzilla.gnome.org/show_bug.cgi?id=696640
Bastien Nocera [Tue, 26 Mar 2013 13:22:10 +0000 (14:22 +0100)]
GtkButton: Don't suppress unhandled mouse events
Mouse events that we do not handle should bubble up to the parent
widget, so they can be handled there, instead of disappearing inside
the button. Also use GDK_EVENT_{STOP,PROPAGATE} to make return
values clearer.
https://bugzilla.gnome.org/show_bug.cgi?id=696640
Victor Ibragimov [Fri, 17 May 2013 21:17:29 +0000 (02:17 +0500)]
Tajik Updated
Victor Ibragimov [Fri, 17 May 2013 21:12:22 +0000 (02:12 +0500)]
Tajik Updated
Benjamin Otte [Fri, 17 May 2013 18:49:20 +0000 (20:49 +0200)]
testsuite: temporarily disable failing tests
Benjamin Otte [Fri, 17 May 2013 16:16:42 +0000 (18:16 +0200)]
treeview: Use tick callback
instead of a timer for the presize callback.
Benjamin Otte [Fri, 17 May 2013 12:33:50 +0000 (14:33 +0200)]
tests: Use gtk_tree_view_wait_for_draw() in treeview-scrolling
Replace all idle handlers waiting for draw and all manual runs of the
event loop with a call to gtk_tree_view_wait_for_draw().
Benjamin Otte [Fri, 17 May 2013 12:28:18 +0000 (14:28 +0200)]
treeview: Store editable position differently
Instead of storing the rect in the bin window, store the row and column
the editable belongs to and compute the rect lazily. This way, we don't
need to keep the rect up to date.
Fixes /TreeView/scrolling/new-row-mixed/path-500 test.
Benjamin Otte [Fri, 17 May 2013 11:33:19 +0000 (13:33 +0200)]
treeview: Remove unused function
Benjamin Otte [Thu, 16 May 2013 23:35:04 +0000 (01:35 +0200)]
API: Add gtk_test_widget_wait_for_draw ()
See docs and following commits for what it's supposed to do. Let's hope
it fixes the flakiness in tests.
Bastien Nocera [Thu, 16 May 2013 16:20:19 +0000 (18:20 +0200)]
GtkSearchEntry: Delay the changed signal by default
Emit the "changed" signal after 150 msecs, so that searching
through big lists, or doing online searches feels more responsive.
This is something already done in various applications to make
search-as-you type more responsive (gnome-shell, gnome-documents,
gnome-control-center, etc.). The 150 msecs is the value currently
used by gnome-shell, so keep it (invisibly) consistent.
https://bugzilla.gnome.org/show_bug.cgi?id=700229
Victor Ibragimov [Fri, 17 May 2013 12:51:33 +0000 (17:51 +0500)]
Tajik Language - PO-properties updated
Victor Ibragimov [Fri, 17 May 2013 12:10:19 +0000 (17:10 +0500)]
Tajik Language - Complete translation
Sindhu S [Fri, 17 May 2013 08:48:43 +0000 (14:18 +0530)]
Fix typos in EN translation files
Change "Englihs" to "English"
Change "Page up" to "Page Up"
Change "Page up (keypad)" to "Page Up (keypad)"
Change "Page down" to "Page down"
Change "Page down (keypad)" to "Page Down (keypad)"
Benjamin Otte [Thu, 16 May 2013 17:50:03 +0000 (19:50 +0200)]
testsuite: Fix output of broken sed script in previous commit
Benjamin Otte [Thu, 16 May 2013 17:44:23 +0000 (19:44 +0200)]
testsuite: install tests in gtk/
Victor Ibragimov [Thu, 16 May 2013 11:08:18 +0000 (16:08 +0500)]
Tajik Translation Updated
Piotr Drąg [Wed, 15 May 2013 16:00:59 +0000 (18:00 +0200)]
Updated POTFILES.skip
Benjamin Otte [Wed, 15 May 2013 13:59:42 +0000 (15:59 +0200)]
testsuite: Fix srcdir != builddir builds
Benjamin Otte [Wed, 15 May 2013 13:28:06 +0000 (15:28 +0200)]
build: Move tests/reftests to testsuite/reftests
Benjamin Otte [Wed, 15 May 2013 12:36:56 +0000 (14:36 +0200)]
build: Move tests/css to testsuite/css
Benjamin Otte [Wed, 15 May 2013 00:00:11 +0000 (02:00 +0200)]
build: Move tests/a11y to testsuite/a11y
Benjamin Otte [Tue, 14 May 2013 23:48:18 +0000 (01:48 +0200)]
build: Move gtk/tests to testsuite/gtk
Benjamin Otte [Tue, 14 May 2013 14:13:16 +0000 (16:13 +0200)]
build: Move gdk/tests/ to testsuite/gdk/
This is a reorganization of the testsuite to be in the testsuite/
directory, so it can be installed from there.
Benjamin Otte [Wed, 15 May 2013 13:25:25 +0000 (15:25 +0200)]
tests: Include gtk/ directory from toplevel
Benjamin Otte [Wed, 15 May 2013 13:25:05 +0000 (15:25 +0200)]
tests: Use testing API instead of duplicating it
Benjamin Otte [Wed, 15 May 2013 13:24:18 +0000 (15:24 +0200)]
tests: Use absolute paths to unrelated files
Benjamin Otte [Tue, 14 May 2013 23:52:32 +0000 (01:52 +0200)]
quartz: Fix Makefile typo
Alexander Larsson [Wed, 15 May 2013 10:39:21 +0000 (12:39 +0200)]
GtkContainer: Propagate draws in GdkWindow order
Now that we're not drawing the GdkWindows by themeselves we need to
propagate into children in the same order as the windows were painted
otherwise apps can't rely on stacking order to overlay children.
This is still not 100% the same as the old behaviour, because we're
treating all windows that are part of a window at the same time (to allow
e.g. opacity groups), and we're only looking at order for the main
windows of a widget. However, this fixes at least the ordering
of the gnome-boxes fullscreen overlay toolbar.
https://bugzilla.gnome.org/show_bug.cgi?id=699970
Alexander Larsson [Wed, 15 May 2013 08:55:59 +0000 (10:55 +0200)]
GdkWindow: Fix shape handling for native windows
We don't track the full clip for each window anymore, as this
is not useful when no windows are opaque. However, we still
need the full clip for the shape, so its calculated manually.
However, it was previously only recalculated when the clip changes
which doesn't correctly handle the case of a sibling geometry changing.
So, instead of doing this directly when geometry changes we just
set a bit in the toplevel whenever some window geometry changes, and
we then handle this in process_updates, updating the shape for all
native windows. This should be ok performance-wise because we don't
expect a lot of native children.
Alexander Larsson [Wed, 15 May 2013 08:55:14 +0000 (10:55 +0200)]
GdkWindow: Fix debug function print_region
Alexander Larsson [Wed, 15 May 2013 08:23:14 +0000 (10:23 +0200)]
GdkWindow: Track all native windows of native windows
We keep a list of all native children of a native window. This means
we don't have to recurse over the entire hierarchy to find any
native children.
Matthias Clasen [Wed, 15 May 2013 04:14:18 +0000 (00:14 -0400)]
Install gdk tests
Matthias Clasen [Wed, 15 May 2013 03:51:37 +0000 (23:51 -0400)]
Install the other a11y tests as well
Matthias Clasen [Wed, 15 May 2013 03:16:56 +0000 (23:16 -0400)]
Install the accessibility-dump tests
Matthias Clasen [Wed, 15 May 2013 03:18:05 +0000 (23:18 -0400)]
Add a --directory option to accessibility-dump
This will be used to tell it where its test data resides
when running the a11y tests installed.
Matthias Clasen [Wed, 15 May 2013 03:17:23 +0000 (23:17 -0400)]
Update expected test output for some a11y tests
Thomas Wood [Tue, 14 May 2013 14:25:30 +0000 (15:25 +0100)]
wayland: ensure the clip region is updated after the window size is updated
https://bugzilla.gnome.org/show_bug.cgi?id=700301
Jasper St. Pierre [Mon, 13 May 2013 19:52:21 +0000 (15:52 -0400)]
gtkmenutrackeritem: Simplify the submenu opening API
Instead of making clients inspect the submenu action and decide what
to do based upon that, always request the submenu open and let the
tracker decide what to do.
Jasper St. Pierre [Mon, 13 May 2013 19:11:41 +0000 (15:11 -0400)]
Add some usage docs for the new private copy/paste APIs
Ryan Lortie [Wed, 8 May 2013 12:20:23 +0000 (08:20 -0400)]
add GtkMenuTrackerItem
Add a new class, GtkMenuTrackerItem that represents a menu item, to be
used with GtkMenuTracker.
GtkMenuTracker's insert callback now works in terms of this new type
(instead of passing reference to the model and an index to the item).
GtkMenuShell now handles all of the binding tasks internally, mostly
through the use of property bindings. Having bindings for the label and
visibility attributes, in partiular, will help with supporting upcoming
extensions to GMenuModel.
GtkModelMenu has been reduced to a helper class that has nothing to do
with GMenuModel. It represents something closer to an "ideal" API for
GtkMenuItem if we didn't have compatibility concerns (eg: not emitting
"activate" when setting toggle state, no separate subclasses per menu
item type, supporting icons, etc.) Improvements to GtkMenuItem could
eventually shrink the size of this class or remove the need for it
entirely.
Some GtkActionHelper functionality has been duplicated in
GtkMenuTracker, which is suboptimal. The duplication exists so that
other codebases (such as Unity and gnome-shell) can reuse the
GtkMenuTracker code, whereas GtkActionHelper is very much tied to
GtkWidget. Supporting binding arbitrary GtkWidgets to actions vs.
supporting the full range of GMenuModel features for menu items turns
out to be two overlapping but not entirely similar problems. Some of
the duplication (such as roles) can be removed from GtkActionHelper once
Gtk's internal Mac OS menubar support is ported to GtkMenuTracker.
The intent to reuse the code outside of Gtk is also the reason for the
unusual treatment of the enum type introduced in this comment.
This adds no new "public" API to the Gtk library, other than types that
we cannot make private due to GType limitations.
Ryan Lortie [Thu, 9 May 2013 19:08:02 +0000 (15:08 -0400)]
action stuff: Change include style
The shell wants to transplant our GtkActionObserver/GtkActionObservable
code now as well, so change to ""-style #includes there.
Jasper St. Pierre [Thu, 9 May 2013 19:28:57 +0000 (15:28 -0400)]
action stuff: Introspection fixes
Jasper St. Pierre [Mon, 13 May 2013 16:02:24 +0000 (12:02 -0400)]
action stuff: Remove G_GNUC_INTERNAL
Ryan Lortie [Thu, 9 May 2013 18:15:51 +0000 (14:15 -0400)]
action stuff: stop abusing GLib's namespace
Rename our internal GActionMuxer, GActionObserver and GActionObservable
classes and interfaces to have names in our own namespace.
These classes were originally intended for GIO but turned out to be too
special-purpose to be useful there, so we never made them public API but
have just been copying them around (without bothering to properly rename
them). Now that other people will be copying them out of Gtk, it's even
more important to prevent this namespace abuse from spreading further.
Ryan Lortie [Sun, 5 May 2013 21:18:13 +0000 (17:18 -0400)]
tests: make GtkMenu test more flexible
We were using gtk_menu_item_get_label() from a testcase to determine the
label associated with a menu item. Future changes to GtkModelMenuItem
will cause this to stop working, so try a bit harder to find a label
inside of the item.
Matthias Clasen [Mon, 13 May 2013 19:45:47 +0000 (15:45 -0400)]
Revert "Fix .ui.h -> .ui naming of files."
This reverts commit
99c7091abe40a0a1a6da4a80f5168e9286c02b4d.
Please, no more touching of POTFILES.in without asking first.
These .ui.h files are really meant to be there.
Hib Eris [Sat, 11 May 2013 14:57:39 +0000 (16:57 +0200)]
Build extract-strings tool for build system
This fixes cross compiling where build system != host system.
https://bugzilla.gnome.org/show_bug.cgi?id=699690
Kjartan Maraas [Mon, 13 May 2013 12:44:04 +0000 (14:44 +0200)]
Updated Norwegian bokmål translation
Kjartan Maraas [Mon, 13 May 2013 12:37:04 +0000 (14:37 +0200)]
Fix .ui.h -> .ui naming of files.
Matthias Clasen [Mon, 13 May 2013 10:06:10 +0000 (06:06 -0400)]
Add a test for dialog placement with csd
Taken from
https://bugzilla.gnome.org/show_bug.cgi?id=700056
Joe Pea [Sun, 12 May 2013 20:28:24 +0000 (13:28 -0700)]
GtkPlacesSidebar: Fixed tooltip capitalization
Use sentence capitalization for the tooltip on the file system disk under Devices.
https://bugzilla.gnome.org/show_bug.cgi?id=698933
Bastien Nocera [Fri, 10 May 2013 14:04:11 +0000 (16:04 +0200)]
Fix accels added after the window was shown not working
GtkApplicationWindow would only update its list of captured accels
when realizing the window. This meant that keyboard shortcuts added
after the window was realised (for example, added by plugins) would
be non-functional.
Solve this by updating our accels every time the accel map changes,
not only when realizing the window.
https://bugzilla.gnome.org/show_bug.cgi?id=700079
Matthias Clasen [Mon, 13 May 2013 02:25:54 +0000 (22:25 -0400)]
Improve wording of filechooser context menu
Use header captialization, and shorten the labels a bit.
https://bugzilla.gnome.org/show_bug.cgi?id=698361
Matthias Clasen [Mon, 13 May 2013 02:17:15 +0000 (22:17 -0400)]
Improve sensitivity handling in filechooser context menu
Items that act on the selection should not be sensitive if the
selection is empty. This was already the case for the 'Copy file
location' item, but not for the 'Add bookmark' and 'Visit file'
items.
https://bugzilla.gnome.org/show_bug.cgi?id=699104
Carlos Garnacho [Mon, 29 Apr 2013 17:25:21 +0000 (19:25 +0200)]
Find tooltip/dnd widget running through container children in inverse order
Usually, educated GtkContainers' forall() implementation returns children
in an order that's safe for the default draw() implementation in GtkContainer.
So for widgets with some stacking notions (eg. GtkOverlay),
_gtk_widget_find_at_coords() needs to recurse within containers in reverse
order so it finds the topmost widget.
As this function is used in both tooltips and DnD code, this improves behavior
of "floating" widgets wrt those two. This could for example be seen in the
"Transparent" GTK+ demo, where dropping text on the entry results on the text
going to the textview.
https://bugzilla.gnome.org/show_bug.cgi?id=699239
Matthias Clasen [Mon, 13 May 2013 01:00:06 +0000 (21:00 -0400)]
Test a few more titlebar things
Add tests for fullscreening and disposing with custom titlebar
to testheaderbar.
Matthias Clasen [Mon, 13 May 2013 00:58:48 +0000 (20:58 -0400)]
csd: Properly dispose custom titlebars
gtk_bin_remove can't handle internal children, so we have
to unset the titlebar widget before chaining up in dispose.
https://bugzilla.gnome.org/show_bug.cgi?id=700054
Matthias Clasen [Mon, 13 May 2013 00:53:41 +0000 (20:53 -0400)]
csd: Ignore titlebars when hidden
We were not drawing the content background in the titlebar
area when fullscreen, and were still treating clicks there
as if they were on the titlebar.
Matthias Clasen [Mon, 13 May 2013 00:47:55 +0000 (20:47 -0400)]
csd: Manage visibility of custom titlebars
We should hide custom titlebars when in fullscreen mode, just
as we do for non-custom titlebars.
https://bugzilla.gnome.org/show_bug.cgi?id=700053
Sébastien Wilmet [Wed, 17 Apr 2013 10:38:44 +0000 (12:38 +0200)]
Doc: various small fixes
https://bugzilla.gnome.org/show_bug.cgi?id=700007
Sébastien Wilmet [Tue, 2 Apr 2013 22:27:50 +0000 (00:27 +0200)]
gtktextchild: replace hard-coded values by a macro
The macro already exists, so it's better to use it.
https://bugzilla.gnome.org/show_bug.cgi?id=700007
Tristan Van Berkom [Sun, 12 May 2013 12:56:40 +0000 (21:56 +0900)]
GtkComboBoxText: Improved GtkBuildable documentation.
Also removed a bogus FIXME comment which might have been true
a long time ago. Clarification: the "domain" attribute specified
in the builder script overrides any domain previously set with
gtk_builder_set_translation_domain(), so the translation of items
here is perfectly correct and does not need to be fixed.
Yuri Myasoedov [Sun, 12 May 2013 08:45:51 +0000 (12:45 +0400)]
Updated Russian translation
Matthias Clasen [Sat, 11 May 2013 23:44:57 +0000 (19:44 -0400)]
Make gtk_window_resize work again
This hunk of code was lost by accident in the previous commit.
Matthias Clasen [Sat, 11 May 2013 22:45:27 +0000 (18:45 -0400)]
GtkWindow: default size is only for initial map
Bring back need_default_size. We need it to preserve this
documented behavior:
The default size of a window only affects the first time a window is
shown; if a window is hidden and re-shown, it will remember the size
it had prior to hiding, rather than using the default size.
With this patch, all of the window sizing tests in
gtk/tests/window pass again.
Benjamin Otte [Sat, 11 May 2013 13:11:53 +0000 (15:11 +0200)]
widget: make gtk_widget_compute_size_for_orientation() static
It's not used anywhere outside of gtksizerequest.c anymore.
Benjamin Otte [Sat, 11 May 2013 12:29:29 +0000 (14:29 +0200)]
API: Don't export gtk_widget_preferred_size_and_baseline()
gtk_widget_preferred_size() is only useful if you want to quickly port a
widget from GTK2 sizing code to GTK3 but does not properly work with
height-for-width as used in GTK. So we don't want to encourage people to
use it. In particular we want people to convert to height-for-width
before adding baseline support to their widgets.
Benjamin Otte [Sat, 11 May 2013 11:40:38 +0000 (13:40 +0200)]
quartz: Remove unused variable
John Ralls [Sat, 11 May 2013 00:25:11 +0000 (17:25 -0700)]
John Ralls [Sat, 11 May 2013 00:21:27 +0000 (17:21 -0700)]
Remove framework initialization code
This is left over from an old effort to bundle gtk and its dependencies
into a Mac OS X Framework. The effort was more or less successful but
proved difficult to maintain and impractical to use because gtk programs
don't use the special Framework include syntax.
Matthias Clasen [Fri, 10 May 2013 17:53:31 +0000 (13:53 -0400)]
Add more window-size related tests
Colin Walters [Thu, 9 May 2013 20:48:38 +0000 (16:48 -0400)]
GtkBookmarksManager: Only save if we have data to save
Otherwise we write an empty file, which is lame.
Colin Walters [Thu, 9 May 2013 20:48:03 +0000 (16:48 -0400)]
GtkBookmarksManager: Ensure parent directory exists when saving
Otherwise we fail when the user doesn't have ~/.config yet.
Benjamin Otte [Thu, 9 May 2013 17:05:43 +0000 (19:05 +0200)]
widget: Remove unused variable
Benjamin Otte [Thu, 9 May 2013 16:57:34 +0000 (18:57 +0200)]
build: remove --disable-rebuilds
It's unused and was only useful when perl wasn't installed. But perl is
a dependency of glib these days, so it's useless.
Colin Walters [Thu, 9 May 2013 16:38:08 +0000 (18:38 +0200)]
Add --enable-installed-tests, use it for reftests
See https://live.gnome.org/GnomeGoals/InstalledTests
https://bugzilla.gnome.org/show_bug.cgi?id=699601
Benjamin Otte [Thu, 9 May 2013 16:34:49 +0000 (18:34 +0200)]
reftests: Automatically recurse into directories
Benjamin Otte [Thu, 9 May 2013 15:06:16 +0000 (17:06 +0200)]
configure: Don't check for indent
indent was used in genmarshal.pl, which was removed in 2002 when gobject
was created.
Colin Walters [Thu, 9 May 2013 14:17:32 +0000 (16:17 +0200)]
reftests: Add a --directory/-d option
This sets the directory we chdir() to, so we can use relative filenames
in ui files.
Some properties like to take filenames...
Colin Walters [Tue, 7 May 2013 12:52:35 +0000 (14:52 +0200)]
reftests: Split out shell scripts from tests
They are just utilities to create tests, don't dump them in with the
tests.
This is in preparation for installed tests.
Colin Walters [Tue, 7 May 2013 12:48:36 +0000 (14:48 +0200)]
reftests: Use $(NULL) in the Makefile
Matthias Clasen [Thu, 9 May 2013 16:06:05 +0000 (12:06 -0400)]
Remove gtk_widget_size_allocate from gtk_menu_popup_for_device
GtkMenu calls gtk_widget_size_allocate on its GtkWindow during
gtk_menu_popup_for_device if the menu has not been realised. This can cause the
allocation of the GtkWindow and the size of the GdkWindow to become out of sync
because a top level GtkWindow does not attempt to re-size the GdkWindow when
its allocation is set.
https://bugzilla.gnome.org/show_bug.cgi?id=695120
Ryan Lortie [Wed, 8 May 2013 12:15:40 +0000 (08:15 -0400)]
GtkCheckMenuItem: remove an unused boolean field
always_show_toggle was always set to TRUE in _init() and never changed
from anywhere else. Remove it and remove the if() statements based on
it.
https://bugzilla.gnome.org/show_bug.cgi?id=699929
Matthias Clasen [Thu, 9 May 2013 16:02:59 +0000 (12:02 -0400)]
Fix a typo
Pointed out in bug
https://bugzilla.gnome.org/show_bug.cgi?id=698051
Marek Kasik [Mon, 6 May 2013 11:43:18 +0000 (13:43 +0200)]
printing: Don't crash when printer-state-message not provided
Check whether "printer-state-message" was returned before its
usage.
https://bugzilla.gnome.org/show_bug.cgi?id=699750
Stefan Sauer [Wed, 8 May 2013 20:00:30 +0000 (22:00 +0200)]
label: fix return value type for _draw()
Change from gint to gboolean.
Matthias Clasen [Wed, 8 May 2013 14:19:08 +0000 (10:19 -0400)]
Make key themes work again
This was inadvertedly broken in commit
44ba5d253f5bbda2d5a42c58218ad2aa318256f4.
Thanks to Matthew Francis for tracking this down and providing
a fix in https://bugzilla.gnome.org/show_bug.cgi?id=699901
Alexander Larsson [Wed, 8 May 2013 13:57:58 +0000 (15:57 +0200)]
gdkwindow: Don't enforce a native window for a custom visual
In the ancient X days you could have Xservers that had multiple active windows, like
one truecolor and one 8bit palette. Then most apps ran in 8bpp but a single window
would use truecolor. This is done by specifying different visuals for the windows.
To make this work we ensured that a window with a visual different from its parent
gets a native subwindow, so that X can tell the hardware to do its magic.
These days the only real time we get two different visual is when one is a rgba visual
and the other is not. So, the code to check this doesn't really do anything but
get in the way when someone accidentally manages to not get a rgba visual on
a child window (see
bb7054b508bfe41eb3e7f27496d4c2eb3a2b2f7a). So, to avoid
such errors we just remove the "different visual than parent" check.
Alexander Larsson [Wed, 8 May 2013 13:51:00 +0000 (15:51 +0200)]
overlay/paned: Ensure we set the right visual on windows
This was always "needed", but the problems with not doing it
now are worse, since any CSD window will have a nonstandard
rgba visual.
Jiro Matsuzawa [Wed, 8 May 2013 12:16:47 +0000 (21:16 +0900)]
l10n: Update Japanese translation
Rico Tzschichholz [Tue, 7 May 2013 15:34:32 +0000 (17:34 +0200)]
Remove abi checking scripts (2)
In addition to
019ad96479a9bafbf2948aa240dd57e2229f5985
Alexander Larsson [Tue, 7 May 2013 12:27:17 +0000 (14:27 +0200)]
GtkPixelCache: Free cache if not used in 20 seconds
No need to keep a performance enhancing cache around if its not
actually in use.
Alexander Larsson [Tue, 7 May 2013 09:46:50 +0000 (11:46 +0200)]
gdkwindow: Expose all native windows
We need to send exposes for all native windows, even the ones
without an exposure mask set, because otherwise non-native
children of the native window with an exposure mask will
not be drawn.
Alexander Larsson [Tue, 7 May 2013 07:28:30 +0000 (09:28 +0200)]
GtkStack: Fix double-draw in crossfade
We should only draw the cross-fade on the bin window, not doing this
was causing us to draw it multiple times using ADD which resulted
in weird colors.